/*
 * Copyright (c) 2017, dhl and/or its affiliates. All rights reserved.
 * dhl PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 */
package com.xd.cloud.common.bean;

import java.io.Serializable;

import javax.persistence.Entity;

/**
 * 机构、公司的树状结构，返回前台使用
 * 
 * @author dhl
 * @since V1.0
 * 
 */
@Entity
public class OrgTreeBean implements Serializable {

	private String id;
	//上级公司id
	private String pId;
	//公司名称
	private String name;
	
	private String levelFlag; //level为1 代表公司  level为2代表车队
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getpId() {
		return pId;
	}
	public void setpId(String pId) {
		this.pId = pId;
	}
	public String getLevelFlag() {
		return levelFlag;
	}
	public void setLevelFlag(String levelFlag) {
		this.levelFlag = levelFlag;
	}
}
